import Layout from '@/layout/index.vue'
export default [
  {
    path: '/manage-storage-in/list-in',
    component: Layout,
    redirect: 'noredirect',
    name: 'ManageStorageIn',
    meta: {
      title: '入库管理',
      icon: 'storageIn'
    },
    children: [
      {
        path: 'list',
        component: () =>
          import(
            /* webpackChunkName: "list" */ '@/module-storage-in/pages/list-in/index.vue'
          ),
        name: 'ManageStorageInList',
        meta: {
          title: '入库单'
        }
      },
      {
        path: 'list/details/:id',
        component: () =>
          import(
            /* webpackChunkName: "list" */ '@/module-storage-in/pages/list-in-add/index.vue'
          ),
        name: 'ManageStorageInListAdd',
        meta: {
          title: '新增入库单',
          activeMenu: '/manage-storage-in/list-in/list',
          hidden: true
        }
      },
      {
        path: 'list/list-detail/:id',
        component: () =>
          import(
            /* webpackChunkName: "list" */ '@/module-storage-in/pages/list-in-details/index.vue'
          ),
        name: 'ManageStorageInListDetails',
        meta: {
          title: '查看入库单详情',
          activeMenu: '/manage-storage-in/list-in/list',
          hidden: true
        }
      },
      {
        path: 'task-receive',
        component: () =>
          import(
            /* webpackChunkName: "list" */ '@/module-storage-in/pages/list-in-task-receive/index.vue'
          ),
        name: 'ManageStorageInTaskReceive',
        meta: {
          title: '收货任务'
        }
      },
      {
        path: 'task-receive/sure/:id',
        component: () =>
          import(
            /* webpackChunkName: "list" */ '@/module-storage-in/pages/list-in-task-receive-sure/index.vue'
          ),
        name: 'SureAddTask',
        meta: {
          title: '收货录入',
          activeMenu: '/manage-storage-in/list-in/task-receive',
          hidden: true
        }
      },
      {
        path: 'task-receive/sure/:id/:detail',
        component: () =>
          import(
            /* webpackChunkName: "list" */ '@/module-storage-in/pages/list-in-task-receive-sure/index.vue'
          ),
        name: 'SureAddTask',
        meta: {
          title: '收货详情',
          activeMenu: '/manage-storage-in/list-in/task-receive',
          hidden: true
        }
      },
      {
        path: 'task-add',
        component: () =>
          import(
            /* webpackChunkName: "list" */ '@/module-storage-in/pages/list-in-task-add/index.vue'
          ),
        name: 'ManageStorageInTaskAdd',
        meta: {
          title: '上架任务'
        }
      },
      {
        path: 'task-add/sure/:id',
        component: () =>
          import(
            /* webpackChunkName: "list" */ '@/module-storage-in/pages/list-in-task-add-sure/index.vue'
          ),
        name: 'ManageStorageInTaskAddSure',
        meta: {
          title: '上架确认',
          activeMenu: '/manage-storage-in/list-in/task-add',
          hidden: true
        }
      },
      {
        path: 'task-add/sure/:id/:detail',
        component: () =>
          import(
            /* webpackChunkName: "list" */ '@/module-storage-in/pages/list-in-task-add-sure/index.vue'
          ),
        name: 'ManageStorageInTaskAddSure',
        meta: {
          title: '上架详情',
          activeMenu: '/manage-storage-in/list-in/task-add',
          hidden: true
        }
      }
    ]
  }
]
